import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useHeaderStore = defineStore('headerStore', () => {
  const isCollapse = ref(false)

  const changeCollapse = () => {
    isCollapse.value = !isCollapse.value
    console.log(isCollapse.value)
  }

  return { isCollapse, changeCollapse }
})
